import { nanoid } from "nanoid";
export const getById = () => {
  // 时间戳
  const timestamp = Date.now();
  const id = nanoid();
  const byId = `vid-${timestamp}-${id}`;
  return byId;
};

